package com.jgame.secondarymarket.interfaces.vo.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @title: ProductDTO
 * @Author Wangsj
 * @Date: 2021/7/21
 */
@Data
@ToString
@ApiModel(description = "商品页面对象")
public class ProductVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("商品图片地址")
    private String imageAddress;

    @ApiModelProperty("商品价格")
    private BigDecimal price;

    @ApiModelProperty("商品评分")
    private Double rate;

    @ApiModelProperty("商品描述")
    private String describes;

    @ApiModelProperty("商品属性")
    private Map<String, List<ProductPropertiesVO>> properties;
}
